# Criterion Attributes

There are a number of attributes which you can test using the rules interface.

## Criterion attributes:

- Filename: the name of the file or folder, such as "My Documents" or "notes.txt"
- Relative Path: the path of the item relative to the root of the synchronization. For example, for an item which is directly within the folder being synchronized, this attribute is the same as the filename. However, for something at <Source A>/Some Folder/Another Folder/TheDocument, the relative path is "Some Folder/Another Folder/TheDocument"
- Extension: the extension of the file, without the dot. For example, for document.txt, the extension is "txt".
- Date Modified: the date the document was last modified, as shown in the Finder
- Date Created: the date the document was created, as shown in the Finder
- Kind: the fundamental type of the item--alias, application, file, or folder
- Label: the Finder label (color) of the item
- Size: the size of the item, as shown in Terminal. Note: this should be the same as in Finder for all files, but a directory's size is not considered to be the sum of all of its contents like the Finder shows.
- Type: the HFS+ file type of the item, such as 'APPL'. Does not apply to folders.
- Creator: the HFS+ file creator of the item, such as 'SYNK'. Does not apply to folders.
- Comments: the Finder comments of the item. Note: using this option may dramatically slow scanning due to limitations in the operating system
- Visibility: whether the item is visible in the Finder.
Note: using this option may dramatically slow scanning due to limitations in the operating system

Due to a bug in the Cocoa frameworks, international users should be careful with the date parsing in the date rules. Some localized date formats will not be properly read by the text field; however, the displayed date will be properly in your localized format.